package com.kashi.service.impl;

import com.kashi.mapper.SliderMapper;
import com.kashi.pojo.Slider;
import com.kashi.service.SliderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SliderServiceImpl implements SliderService {

    @Autowired
    private SliderMapper sliderMapper;

    @Override
    public List<Slider> list() {
        return sliderMapper.list();
    }
}
